/*
  Copyright 2014 The Oppia Authors. All Rights Reserved.

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
*/

/*
  Note that this affects both the learner mode and the 'editor preview'
  mode.
*/
html, body {
  background-color: #eee;
}

/*
  Additional CSS for the conversation_v1 skin.
  All classes below should start with .conversation-skin
 */

.conversation-skin-cards-container {
  margin-bottom: 50px;
}

.conversation-skin-exploration-intro-card {
  background-color: rgb(255,255,255);
  font-family: 'Roboto';
  margin: 20px auto;
  max-height: 567px;
  max-width: 560px;
  padding: 0px;
  text-align: center;
}

.conversation-skin-card-row-container {
  margin-bottom: 17px;
  table-layout: fixed;
  width: 100%;
}

.conversation-skin-card-row {
  margin-bottom: 20px;
  margin-top: 20px;
  width: 100%;
}

.conversation-skin-row-avatar {
  padding-right: 10px;
  width: 30px;
}

.conversation-skin-row-avatar-img {
  height: 24px;
  margin-top: 2px;
  max-width: 24px;
}

.conversation-skin-exploration-header {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 1));
  font-size: 20px;
  text-align: center;
  height: 95px;
  margin-top: -95px;
  padding-top: 10px;
  position: relative;
}

.conversation-skin-iframe-container {
  -webkit-overflow-scrolling: touch;
}

/* 'md-card' is needed to ensure that this takes precedence over the default
   Material Design stylesheet. */
md-card.conversation-skin-card {
  background: rgb(255,255,255);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  font-family: 'Roboto';
  margin: 20px auto;
  margin-top: -5px;
  max-width: 560px;
  padding: 40px 60px 27px 22px;
  position: relative;
  text-align: justify;
}

.conversation-skin-card-dropdown {
  position: absolute;
  right: 5px;
  top: 10px;
  width: 20px;
}
.conversation-skin-card-dropdown-toggle {
  cursor: pointer;
  height: 20px;
  opacity: 0.5;
}

.conversation-skin-learner-input {
  padding-left: 15px;
}

.conversation-skin-learner-answer {
  color: #579287;
  padding-left: 15px;
  width: 100%;
  word-wrap: break-word;
}

.conversation-skin-oppia-content {
  padding-left: 15px;
  padding-top: 5px;
}

.conversation-skin-oppia-feedback {
  padding-left: 15px;
  text-align: left;
  width: 100%;
  word-wrap: break-word;
}

/* 'md-card' is needed to ensure that this takes precedence over the default
   Material Design stylesheet. */
md-card.conversation-skin-inline-interaction {
  background-color: #f6f6f6;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  margin: -20px auto;
  max-width: 560px;
}

.conversation-skin-supplemental-interaction {
  margin: 0 auto;
  max-width: 600px;
}

md-card.conversation-skin-supplemental-card {
  background-color: #f6f6f6;
  margin: -5px 0;
  width: 600px;
}
